let tip = (title,icon="none")=>{
	uni.showToast({
		title,
		icon
	})
}

let phoneReg = /^(?:\+?\d{1,3}[-\s]?)?(\(?\d{1,4}\)?[-\s]?)?(\d{1,4}[-\s]?)?(\d{1,4}[-\s]?)?\d{1,4}$/
// let phoneReg = /^1[3-9]\d{9}$/

module.exports = {
	tip,
	phoneReg,
}